package cn.linjianhui.cluster.model;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Getter
@Setter
@Document("cart")
public class Cart {
    @Id
    private String Id;

    @Field("UserId")
    private String UserId;

    @Field("BuyCount")
    private int BuyCount;
}
